-- 屏幕中心点的 左边转换为0，0
local difx =320+30  --700-640的差值
local dify =320+30
local v3 = function(x, y)
    return { x = x+difx, y = y+dify }
end
local BattleType = require("BattleConst").BattleType

local BattleMapConfig = {}

local o = {
    isLoop = true,
    pointList = {v3(-320, -320), v3(320, -320), v3(-320, 0), v3(320, 0), v3(320, 320), v3(-320, 320)},
    routeList = {
        {
            -- points = {0, 2, 3, 1, 0},
            points = {1, 3, 4, 2, 1},
            fighterPosList = {
                v3(-223, -75), v3(-223, -150), v3(-223, -225),
                v3(-134, -75), v3(-134, -150), v3(-134, -225),
                v3(-44, -75), v3(-44, -150), v3(-44, -225),
                v3(44, -75), v3(44, -150), v3(44, -225),
                v3(134, -75), v3(134, -150), v3(134, -225),
                v3(223, -75), v3(223, -150), v3(223, -225)
            },
            fubenPosList = {v3(-180, 40), v3(-210, -10), v3(-180, -60)}
        },
        {
            -- points = {5, 2, 3, 4, 5},
            points = {6, 3, 4, 5, 6},
            fighterPosList = {
                v3(-223, 75), v3(-223, 150), v3(-223, 225),
                v3(-134, 75), v3(-134, 150), v3(-134, 225),
                v3(-44, 75), v3(-44, 150), v3(-44, 225),
                v3(44, 75), v3(44, 150), v3(44, 225),
                v3(134, 75), v3(134, 150), v3(134, 225),
                v3(223, 75), v3(223, 150), v3(223, 225)
            },
            fubenPosList = {v3(180, 40), v3(210, -10), v3(180, -60)}
        }
    }
}

local r = {
    isLoop = true,
    pointList = {v3(-320, -400), v3(-320, -80), v3(320, -80), v3(320, -400), v3(-320, 400), v3(-320, 80), v3(320, 80), v3(320, 400)},
    routeList = {
        {
            points = {0, 1, 2, 3, 0},
            fighterPosList = {
                v3(-223, -155), v3(-223, -230), v3(-223, -305),
                v3(-134, -155), v3(-134, -230), v3(-134, -305),
                v3(-44, -155), v3(-44, -230), v3(-44, -305),
                v3(44, -155), v3(44, -230), v3(44, -305),
                v3(134, -155), v3(134, -230), v3(134, -305),
                v3(223, -155), v3(223, -230), v3(223, -305)
            }
        },
        {
            points = {4, 5, 6, 7, 4},
            fighterPosList = {
                v3(-223, 155), v3(-223, 230), v3(-223, 305),
                v3(-134, 155), v3(-134, 230), v3(-134, 305),
                v3(-44, 155), v3(-44, 230), v3(-44, 305),
                v3(44, 155), v3(44, 230), v3(44, 305),
                v3(134, 155), v3(134, 230), v3(134, 305),
                v3(223, 155), v3(223, 230), v3(223, 305)
            }
        }
    }
}

BattleMapConfig[BattleType.NEWBIE] = o
BattleMapConfig[BattleType.COOP] = o
BattleMapConfig[BattleType.COOP_HARD] = o
BattleMapConfig[BattleType.CIRCLE] = r

return BattleMapConfig